package ServerSide;

import java.awt.Point;
import java.util.Vector;

import BothSide.EntityInfo;
import ClientSide.RemoteListener;

public interface ServicesInterface extends java.rmi.Remote
{
	   
	
        public Vector<EntityInfo> getRemotePlayersInfo() throws java.rmi.RemoteException;
        
        public void setPlayerInfo(EntityInfo info) throws java.rmi.RemoteException;
        
        public void bornPlayer(EntityInfo info) throws java.rmi.RemoteException;
        
        public void killPlayer(String nomePlayer) throws java.rmi.RemoteException;
        
        public String leggiOstacoli() throws java.rmi.RemoteException;
        
        public void assegnaColpo(String nomePlayer, Point p) throws java.rmi.RemoteException;
        
        public void colpoRicevuto(String nomePlayer)throws java.rmi.RemoteException;
        
        public void addListener (RemoteListener l) throws java.rmi.RemoteException;

      public void removeListener (RemoteListener l) throws java.rmi.RemoteException;
      
     
}

